package com.hospital.ssm.mapper;

import com.hospital.ssm.model.Doctor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctorMapper {
    List<Doctor> getAll(@Param("id") Integer id) throws Exception;

    int delete(@Param("id") Integer id) throws Exception;

    int insert(@Param("doctor") Doctor doctor) throws Exception;

    int update(@Param("doctor") Doctor doctor) throws Exception;

    int updatedStatusu (@Param("id") Integer id) throws Exception;

    int updatedStatusn (@Param("id") Integer id) throws Exception;
}
